#include "Kernel.h"
#include "Scheduler/Session.h"
#include "Scheduler/Team.h"
#include "Utils/String.h"
#include "Utils/TList.h"


Session::Session( const char * name )
{
	IF_PARANOID( this->signature = SESSION_SIGNATURE );

	this->name = StringCopy( name );
	this->teams = new TList<Team>();
}


Session::~Session()
{
	PARANOID_ASSERT( this->signature == SESSION_SIGNATURE );
	IF_PARANOID( this->signature = NULL );

	delete name;
	delete teams;
}

